<%@page import="com.mmy.domain.line.TLinePlan"%>
<%@page import="com.mmy.domain.line.VLinePlan"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="/WEB-INF/jsp/includeb.jsp"></jsp:include>
<title>线路计划信息</title>
</head>
<body>
<script>
$(function () {
laydate.render({
  elem: '#PlanStart',
  type: 'datetime' ,
  theme: '#1eab3c',
  value: '${startDateStr}',
   trigger: 'click'
	});
laydate.render({
  elem: '#PlanEnd',
  type: 'datetime' ,
  theme: '#1eab3c',
  value: '${endDateStr}',
   trigger: 'click'
	});
});
</script>
	<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/BackHeader.jsp"></jsp:include>
		<main class="at-padding-large-bottom"> <article> <header
			class="bg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
		<div class="page-header container">
			<h2>线路计划信息</h2>
		</div>
		</header> <section class="container">
		<div class="information">
			<form action="saveupdatelineplan">
				<h4 class="info-h4">
					<i class="fa fa-caret-right" aria-hidden="true"></i>修改线路计划信息
				</h4>
				<div class="input-container">
					<table class="info-table">
						<tr>
							<th><label for="PlanStandard">标准</label></th>
							<td><input type="hidden" name="PlanID"
								value="${vLinePlan.getPlanID() }" readonly="readonly" /> <input
								type="text" id="PlanStandard" name="Standard"
								value="${vLinePlan.getStandard() }" required /><span
								class="mustWrite">*</span></td>
							<th><label for="PlanLineName">线路名称</label></th>
							<td>
								<select class="input-select-vlign" id="LineID" name="LineID">
									<c:forEach var="lstLineBase" items="${lstLineBase}">
										<option value="${lstLineBase.getLineID()}"
										<c:if test="${lstLineBase.getLineID() == vLinePlan.getLineID()}"> selected="selected"</c:if>
										>${lstLineBase.getLineName()}</option>
									</c:forEach>
								</select>
							</td>
						</tr>
						<tr>
							<th><label>开始日期</label></th>
							<td>
								<%-- <input type="datetime-local" id="PlanStart" name="startTime" value="${vLinePlan.getStartDate() }" required/><span class="mustWrite">*</span> --%>
								<input type="text" id="PlanStart" name="startTime" required/><span class="mustWrite">*</span>
							</td>
							<th><label for="PlanEnd">结束日期</label></th>
							<td>
								<%-- <input type="datetime-local" id="PlanEnd" name="endTime" value="${vLinePlan.getEndDate() }" required/><span class="mustWrite">*</span> --%>
								<input type="text" id="PlanEnd" name="endTime" required/><span class="mustWrite">*</span>
							</td>
						</tr>
						<tr>
							<th><label for="PlanFloor">底价</label></th>
							<td><input type="number" id="PlanFloor" name="Floor"
								step="0.01" value="${vLinePlan.getFloor() }" required /><span
								class="mustWrite">*</span></td>
							<th><label for="PlanPeer">同业价</label></th>
							<td><input type="number" id="PlanPeer" name="Peer"
								step="0.01" value="${vLinePlan.getPeer() }" required /><span
								class="mustWrite">*</span></td>
						</tr>
						<tr>
							<th><label for="PlanPrice">对外报价</label></th>
							<td><input type="number" id="PlanPrice" name="Price"
								step="0.01" value="${vLinePlan.getPrice() }" required /><span
								class="mustWrite">*</span></td>
							<th><label for="PlanNumber">数量</label></th>
							<td><input type="number" id="PlanNumber" name="Number"
								value="${vLinePlan.getNumber() }" required /><span
								class="mustWrite">*</span></td>
						</tr>
						<tr>
							<th><label for="PlanMemo">备注</label></th>
							<td colspan="3"><textarea name="Memo" id="PlanMemo">${vLinePlan.getMemo() }</textarea>
							</td>
						</tr>

					</table>
					<center>
						<input type="submit" class="btn" value="保存" /> <input
							type="button" class="btn" value="返回" onclick="rehidder()" />
					</center>
				</div>
			</form>
		</div>
		</section> 
		</article> 
		</main>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>

<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>

</body>

</html>